import 'package:bilibili/core/route/route.dart';
import 'package:bilibili/pages/main/main.dart';
import 'package:bilibili/pages/theme_style/app_theme.dart';
import 'package:bilibili/core/extension/share.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    SizeFit.initSize();
    return MaterialApp(
      theme: AppThemeStyle.normalTheme,
      initialRoute: AppRouter.initRoute,
      routes: AppRouter.router,
    );
  }

}
